import { SET_DATA } from "./constant";
import { wechatState } from "./store";

const mutations = {
  [SET_DATA](state: wechatState, payload: string): void {
    console.log("数据请求", payload);
    state.title = payload;
  },
};

export default mutations;
